<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <title>Title</title>
</head>
<body>
<table border="1">
  <caption>购物车</caption>
  <tr><!--table head表头-->
    <th>编号</th>
    <th>商品名称</th>
    <th>商品价格</th>
    <th>库存单量</th>
    <th>库存总量</th>
  </tr>
  <tr>
    <td>1</td>
    <td>华为高清液晶电视</td>
    <td>3500</td>
    <td>10</td>
    <td rowspan="2">30</td>
  </tr>
  <tr>
    <td>2</td>
    <td>小米手机</td>
    <td>2500</td>
    <td>20</td>
  </tr>
  <tr>
    <td>总价:</td>
    <td colspan="4">6000元</td>
  </tr>
</table>
</body>
</html>